System and method for storing and retrieving data in different data spaces

ABSTRACT

Various implementations of the invention store and retrieve data via a computing processor. The data is comprised of a plurality of data records with a sequentially changing data value and an other data value. For each data record in the plurality of data records, the computing processor causes the data record to be aggregated and stored with other data records in a first data storage container corresponding to a first data storage space based on the sequentially changing data value of the data record (i.e., sequential data space), and causes the data record to be aggregated and stored with other data records in a second data storage container corresponding to a second data storage space (i.e., finite data space). The data records in the second data storage container are stored based on the other data value. When a query is made against the data, the computing processor determines whether the query is best evaluated in the sequential data space or the finite data space. When the query is best evaluated in the sequential data space, the computing processor retrieves a first retrieved plurality of data records from the first data storage container. When the query is best evaluated in the finite data space, the computing processor retrieves a second retrieved plurality of data records from the second data storage container.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims priority to U.S. Provisional Patent Application No. 61/913,226, which was filed on Dec. 6, 2013, and is incorporated herein by reference as if reproduced below in its entirety.

FIELD OF THE INVENTION

The invention is generally related to data storage and more particularly, to a highly scalable, highly available online data storage system.

BACKGROUND OF THE INVENTION

Various conventional data storage systems attempt to manage both scalability and availability of online data storage assets. However, these conventional data storage systems typically are either overly complex or dramatically over specify the number of data storage assets required by the system.

Furthermore, these conventional data storage systems are typically cumbersome to query, particularly when configured to optimize aspects of the data storage system rather than ease of querying.

What are needed are improved systems and methods for storing and retrieving data, especially in an online, real-time data storage system. What are further needed are such systems that are optimized for various forms of querying.

SUMMARY OF THE INVENTION

In various implementations of the invention, method for storing and retrieving data receives, via a computing processor, a plurality of data records, each of the plurality of data records having a sequentially changing data value and an other data value; for each data record in the plurality of data records: causes the data record to be aggregated and stored with other data records in a first data storage container corresponding to a first data storage space based on the sequentially changing data value of the data record, and causes the data record to be aggregated and stored with other data records in a second data storage container corresponding to a second data storage space, wherein the second data storage container is different from the first data storage container, wherein the data records in the second data storage container are stored based on the other data value; receives a query against the plurality of data records; determines whether the query is best evaluated in a sequential data space or a finite data space; retrieves a first retrieved plurality of data records from the first data storage container when the query is best evaluated in the sequential data space; and retrieves a second retrieved plurality of data records from the second data storage container when the query is best evaluated in the finite data space.

These implementations, their features and other aspects of the invention are described in further detail below.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates a data storage system according to various implementations of the invention.

FIG. 2 illustrates an operation of a data storage system according to various implementations of the invention.

FIG. 3 illustrates a spill mechanism over to a new data storage container once an existing data storage container reaches its capacity according to various implementations of the invention.

FIGS. 4 and 5 illustrate a split mechanism over to one or more new data storage container(s) once an existing data storage container reaches its capacity according to various implementations of the invention.

FIG. 6 illustrates an operation of a data storage system as data storage containers approach capacity according to various implementations of the invention.

FIG. 7 illustrates a data storage system including a number of data storage containers hosted by a number of data storage assets according to various implementations of the invention.

FIG. 8 illustrates an operation of a load balancing mechanism for data storage system according to various implementations of the invention.

DETAILED DESCRIPTION

FIG. 1 illustrates a data storage system 100 according to various implementations of the invention. Data storage system 100 includes a processor 120 and at least two data storage containers, illustrated in FIG. 1 as a first data storage container 135 in a first data storage space 130 and a second data storage container 155 in a second data storage space 150. According to various implementations of the invention, a data record 110 is stored in both first data storage container 135 and second data storage container 155 based on one or more data values in data record 110 as will be described in further detail below. Data storage containers 135, 155 and data storage spaces 130, 150 refer to logical data storage elements which may be stored on one or more physical data storage assets (not otherwise illustrated in FIG. 1). According to various implementations of the invention, physical data storage assets may include, but are not limited to servers, disks, memories, other non-transitory computer readable media, or other physical data storage assets including banks or farms of such physical data storage assets.

According to various implementations of the invention, processor 120 may be any general purpose hardware computing processor configured via various executable programming instructions stored internally to or externally from processor 120 in a computer readable medium, where when such programming instructions are executed by the computing processor, they cause the computing processor to perform various functions as would be appreciated. When configured with such programming instructions, the general purpose hardware computing processor becomes a particular processor that performs functions attributed to processor 120 as described herein. According to various implementations of the invention, processor 120 may be a single hardware computing processor or a plurality of hardware computing processors. According to various implementations of the invention, processor 120 may be a dedicated hardware computing processor configured to perform various functions of processor 120 as described herein or a plurality of hardware computing processors distributed throughout data storage system 100, each configured to perform one or more of the functions of processor 100 as described herein.

According to various implementations of the invention, first data storage space 130 and second data storage space 150 define separate spaces for aggregating, organizing and storing data records in a manner that optimizes responses to queries that may be applied against the data records in the respective data storage spaces 130, 150. According to various implementations of the invention, first data storage space 130 aggregates, organizes and/or stores data records in data storage container 135 based on a sequentially changing data value in each of the data records. Such sequentially changing data value may be a sequentially increasing data value or a sequentially decreasing data value. In some implementations of the invention, data records with sequentially increasing data values are stored in increasing sequential order; and data records with sequentially decreasing data values are stored in decreasing sequential order. This first data storage space is sometimes referred to as a “sequential data storage space,” or as will become apparent below, a “spill space.”

For example, a date-time stamp in a data record is a sequentially increasing data value—date-time stamps in data records will have progressively greater data values over time. Other sequentially increasing data values may include, but are not limited to, other temporal data values (i.e., time-based data values other than date-time stamps), transaction numbers, order numbers, or similar numeric orderings of data values in the data records, or other sequentially increasing data values.

According to various implementations of the invention, second data storage space 150 aggregates, organizes and/or stores data records in data storage container 155 based on a data value in the data record that resides in a “finite” space, and not “infinite” such as the sequentially changing data value. For example, a social security number is a data value that resides in a finite space as it has a finite range of values, namely 000-00-0000 to 999-99-9999. As another example, a last name stored as alphabetic characters in a fixed data field (e.g., 15 characters wide, etc.) is a data value that resides in a finite space as it has a finite range of values, namely “A” to “ZZZZZZZZZZZZZZZ” As another example, a hash function computes a hash value based on one or more data values in a data record; the hash value typically has a fixed number of bits and hence resides in a finite space as would be appreciated. This second data storage space is sometimes referred to as a “finite data storage space,” or as will become apparent below, a “split space.”

In some implementations of the invention, second data storage space 150 aggregates, organizes and/or stores data records in data storage container 155 based on those data records sharing a common data value (or sharing a common range of data values) that resides in the finite space such as, but not limited to, those data records sharing the same user name, social security number, website visited, or other common data value in the finite space. In some implementations of the invention, second data storage space 150 aggregates, organizes and/or stores data records that share the common data value (or common range of data values) in data storage container 155 based on an ordering of another data value in the data record, typically, a date-time stamp (or similar time-based value), although any other ordering may be used as would be appreciated.

For example, data records 140 stored in data storage container 135 are organized based on sequentially increasing data values x_(i), x_(i+1), X_(i+2), . . . X_(i+n) in first data storage space 130. In other words, x_(i)<x_(i+1)<X_(i+2)< . . . <X_(i+n). As illustrated, each data record in plurality of data records 140 also includes a data value that is not a sequentially increasing data value (e.g., as illustrated, ‘a’, ‘b’, ‘c’ . . . ). In some implementations, data records 140 in data storage container 135 are ordered strictly based on the sequentially increasing data values. In some implementations, data records 140 in data storage container 135 are ordered loosely based on the sequentially increasing data values based on when such data records are received and stored; in other words, some of the data records 140 may be received “out of order” such that the data record having the data value x_(i+2) is stored in the data base within a few records before the data record having the data value x_(i+1). In some implementations of the invention, this minor misordering is tolerated because “append” operations require less processing than “insert” operations as would be appreciated and can be addressed when responding to queries. In some implementations, data records 140 received out of order are re-ordered, either periodically, or as they are received, as would be appreciated.

According to various implementations of the invention, data records 160 stored in data storage container 155 are organized based on a common data value or common range of data values in the finite space of second data storage space 150. In some implementations, data records 160 are ordered based on the common data value or within the common range of data values. In these implementations, the data records may be ordered, for example, alphabetically or following some other ordering. In some implementations of the invention, data records 160 are ordered based on when such data records are received. In these implementations, the data records are ordered based on their receipt by data storage system 100 and not necessarily following some other ordering.

One benefit of various implementations of the invention is that having and maintaining separate data storage containers 135, 155 from separate data storage spaces 130, 150, respectively, improves response to different types of queries. For example, when the sequentially changing data value of first data storage container 135 is a date-time stamp, data storage container 135 more readily services temporal-based queries. More particularly, data records before or after a certain time or within or outside of a certain time range are more readily made against a data storage that organizes its data records based on time. In essence, data storage container 135 is “tuned” to temporal-base queries. While the same query could be made against data storage container 155, such a query would undoubtedly take longer to service as each data record would have to be evaluated based on the temporal based query. Similarly, when the other data value is, for example, a user name, and data storage container 155 stores its plurality of data records 160 based on user name, data queries based on user name are more readily serviced by such data storage container 155 as would be appreciated.

In some implementations of the invention, data storage system 100 includes a plurality of data storages 135 in different data storage spaces 130 to aggregate, organize and/or store data records based on one or more different sequentially changing data value(s) in the data records. In some implementations of the invention, data storage system 100 includes a plurality of data storages 155 in different data storage spaces 150 to aggregate, organize and/or store data records based on the one or more different data value(s) in the data records, where such different data value(s) reside in a finite data space. In some implementations, the number and/or characteristics of data storages 135, 155 may be selected based on the expected types of queries applied against data storage system 100 as would be appreciated.

According to various implementations of the invention, processor 120 receives a query 170 from, for example, a user of data storage system 100. According to various implementations of the invention, processor 120 determines which data storage space 130, 150 would be best to respond to query 170. For example, if query 170 is based on a sequentially changing data value such as a date-time stamp, for example, query 170 may be applied against first data storage container 135. If query 170 is based on a data value in a finite data space such as a hash value, query 170 may be applied against second data storage container 155, for example.

FIG. 2 illustrates an operation 200 of data storage system 100 according to various implementations of the invention. In an operation 210, processor 120 receives new data record 110. In an operation 220, processor 120 causes new data record 110 to be stored in data storage container 135 in first data storage space 130. In an operation 230, processor 120 causes new data record 110 to be stored in data storage container 155 in second data storage space 150. In an operation 240, query 170, which is to be applied against data storage system 100, is received. A decision operation 250 determines whether query 170 is best evaluated in the sequential data storage space or in the finite data storage space. If query 170 is best evaluated in the sequential data storage space, in an operation 260, query 170 is applied against data storage container 135 in first data storage space 130 and a retrieved plurality of data records corresponding to query 170 is retrieved from data storage container 135. If query 170 is best evaluated in the finite data storage space, in an operation 270, query 170 is applied against data storage container 155 in second data storage space 150 and a retrieved plurality of data records corresponding to query 170 is retrieved from data storage container 155.

As new data records are added to data storage system 100, data storage containers 135, 155 may eventually reach their respective capacities. Some implementations of the invention provide a mechanism for handling additional new records as data storage containers 135, 155 approach their respective capacities. In reference to FIGS. 3, 4 and 5 and in accordance with various implementations of the invention, new data storage containers 135N, 155N are created, opened or otherwise brought on-line in data storage system 100 based on whether existing data storage container 135E, 155E that is approaching capacity corresponds to first data storage space 130 or second data storage space 150.

According to various implementations of the invention, data storage containers 135, 155 typically have a predetermined capacity, either physically or logically, as would be appreciated. For example, each data storage container 135, 155 may store twenty (20) million data records or other number of data records. When an existing data storage container 135E, 155E fills, a new data storage container 135N, 155N must be brought online (e.g., created, instantiated, etc.) to aggregate, organize and store new data records.

According to various implementations of the invention, when data storage container 135E reaches its capacity (i.e., at capacity, within a certain threshold of its capacity, etc.), a new data storage container 135N is brought online to store additional new data records. Because data records in data storage space 130 are stored sequentially based on a data value in the data record, the new data record (and each subsequent one thereafter until the new data storage container 135N reaches its capacity) is simply stored in the new data storage container 135N. According to various implementations of the invention, when data storage container 135E reaches its capacity, the new data record in data storage space 130 “spills” into a new data storage container 135N.

According to various implementations of the invention, when existing data storage container 155E reaches its capacity, one or more new data storage containers 155N are brought online to accommodate the new data records. Because data records in data storage space 150 are based on data values in the data record that reside in a finite data space, the finite data space is “split” into one or more contiguous “subspaces,” each of which is stored in its own data storage container 155E, 155N. For example, if existing data storage container 155E presently stores data records based on a user last name and the entire finite space resides in data storage container 155 (i.e., last names beginning with ‘A’ to ‘Z’), the entire finite space is split, into one or more contiguous subspaces. For example, as illustrated in FIG. 4, if the finite space is split into two subspaces (illustrated as a subspace 150A and a subspace 150B), data records 160A having user last names beginning with ‘A’ to ‘M’ might be stored on the existing data storage container 155E and data records 160B having user last names beginning with ‘N’ to ‘Z’ might be stored on the new data storage container 155N. In another example illustrated in FIG. 5, if the finite space is split into three contiguous subspaces (illustrated as a subspace 150A, a subspace 150B, and a subspace 150C), data records 160A having user last names beginning with ‘A’ to ‘H’ might be stored on the existing data storage container 155E, data records 160B having user last names beginning with ‘I’ to ‘P’ might be stored on a first new data storage container 155N₁, and data records 160C having user last names beginning with ‘Q’ to ‘Z’ are stored on a second new data storage container 155N₁. In some implementations of the invention, other numbers of subspaces may be used as well as different partitions for the subspaces. In some implementations, the data storage containers 155E, 155N_(i), and their respective subspaces themselves may be further partitioned as they reach their respective capacities into one or more sub-subspaces as would be appreciated. According to various implementations of the invention, when data storage container 155 reaches its capacity, the new data record forces data storage space 150 may be “split” into one or more data storage subspaces 150, each stored in a separate data storage container 155 as would be appreciated.

In some implementations of the invention, in order to accommodate a split of a data storage space 150 into one or more subspaces, each residing in a separate data storage container 155E, 155N_(i), each of the data records 160 in the existing data storage container 155 is positioned or moved to the appropriate data storage container 155E, 155N_(i), after the data storage space 150 is split into one or more subspaces as discussed above.

FIG. 6 illustrates an operation of a data storage system as data storage containers approach capacity according to various implementations of the invention. In an operation 610, data storage system 100 receives a new data record 110 to be stored in one or more data storage containers 135E, 155E. In a decision operation 620, data storage system 100 determines whether a particular data storage container 135E, 155E is at capacity. In a decision operation 630, data storage system 100 determines whether the particular data storage container 135E, 155E stores data records based on a sequentially changing data value in the data records (i.e., a “spill” storage container) or whether the particular data storage container 135E, 155E stores data records based on a data value residing in a finite data space (i.e., a “split” storage container). If the particular data storage container 135E, 155E is a “spill” storage container, in an operation 640, new data record “spills” over to a new data storage container 135N. If the particular data storage container 135E, 155E is a “split” storage container, in an operation 650, the plurality of stored data records 160 in existing data storage container 155E is “split” with new data storage container 155N and in an operation 660, new data record 110 is added to either existing data storage container 155E or new data storage container 155N as discussed above.

According to various implementations of the invention, data storage system 100 may provide a load balancing mechanism for distributing data storage containers 135E, 135N, 155E, and 155N, across a plurality of data storage assets. FIG. 7 illustrates data storage system 100 in different detail for purposes of describing this load balancing mechanism in accordance with various implementations of the invention. Data storage system 100 includes processor 120 and a plurality of data storage assets 710 (illustrated as a data storage asset 710A, a data storage asset 710B, a data storage asset 7100, and a data storage asset 710D). As discussed above, each data storage asset 710 comprises physical hardware configured to host one or more data storage containers 720 (illustrated in FIG. 7 as data storage asset 710A hosting a data storage container 720A₁, a data storage container 720A₂, . . . and a data storage container 720A_(m); data storage asset 710B hosting a data storage container 720B₁, a data storage container 720B₂, . . . and a data storage container 720B_(n); data storage asset 710C hosting a data storage container 720C₁, a data storage container 720C₂, . . . and a data storage container 720C_(p); and data storage asset 710D hosting a data storage container 720D₁, a data storage container 720D₂, . . . and a data storage container 720D_(q)). Data storage containers 720 collectively refer to the various data storage containers 135 (including data storage containers 135N and data storage containers 135E) and data storage containers 155 (including data storage containers 155N and data storage containers 155E) described above.

According to various implementations of the invention, data storage system 100 distributes data storage containers 720 across data storage assets to provide high availability to data records 110 stored in data storage containers 720 and/or to provide fast response time to queries made against these data records 110. According to various implementations of the invention, data storage system 100 provides high availability and fast response time to a plurality of customers spread across data storage assets 710 without having to dedicate individual data storage assets to a given customer. By spreading out data records across data storage assets 710, queries may become highly parallelized thereby reducing response time to the queries while simultaneously reducing an overall number of data storage assets 710 required by data storage system to meet a given performance level.

According to various implementations of the invention, each data storage container 720 may have one or more corresponding replica data storage container (not otherwise illustrated) that mirrors data storage container 720 for purposes of redundancy and backup. In some implementations, replica data storage containers may also be used to provide further parallelization of data storage system 100. In other words, replica data storage containers may be used to directly respond to the query, or portions of the query, to increase the number of potential data storage assets 710 responding to the query. This ensures that if the data storage asset 710 hosting a particular data storage container 720 is busy responding to an unrelated query, the data storage asset 710 hosting a replica of the particular data storage container 720 may respond to the query. In some implementations of the invention, each data storage container 720 is associated with one replica data storage container. In some implementations of the invention, each data storage container is associated with two or more replica data storage containers. According to various implementations of the invention, a number of replicas utilized by data storage system 100 is based, in part, on necessary performance requirements of data storage system 100 and costs of data storage assets 710 as would be appreciated. For purposes of this description, data storage containers and replica data storage containers operate within data storage system 100 in a similar manner. In other words, no distinction is made by data storage system 100 as to whether any given data storage container 720 is a replica, and for purposes of this description, data storage containers and their replicas are referred to collectively as data storage containers 720.

In order to be highly available and highly scalable, data storage system 100 may distribute data storage containers 720 across data storage assets 710. When a request to create, instantiate, or otherwise bring online, a new data storage container 720 (such as discussed above with regard to new data storage containers 135N, 155N), data storage system 100, via processor 120, determines which of data storage assets 710 hosts data storage containers 720 that are “farthest away” from the data storage container 720 that reached its capacity (i.e., data storage container 135E, 155E). This ensures that a given data storage asset 710 does not host contiguous data storage containers 720. In other words, a new data storage container 720 should preferably not be hosted by the same data storage asset 710 as the existing data storage container 720. Likewise, a data storage container 720 and its replica should preferably not be hosted together by the same data storage asset 710.

In some implementations of the invention, the data storage asset 710 deemed “farthest away” may be selected by determining which data storage asset 710 hosts “the farthest of the closest” data storage container 720 (described in further detail below). In some implementations of the invention, the data storage asset 710 deemed “farthest away” may be selected by determining which data storage asset 710 hosts the fewest number of data storage containers 720 or that hosts the least amount of data or data records 110. Other mechanisms for determining which data storage asset 710 is deemed “farthest away” may be used as would be appreciated.

In some implementations of the invention, additional information based on the data records 110 and/or data storage containers 720 is used to determine which data storage asset 710 is deemed “farthest away.” For example, in some implementations where data storage system 100 hosts data for two or more customers, the data storage asset 710 deemed “farthest away” is determined relative to data storage containers 720 for the relevant customer. This ensures that a given customers' data records 110 (and their data storage containers 720) are distributed throughout data storage system 100. Thus, in some implementations of the invention, the data storage asset 710 deemed “farthest away” may be selected by determining which data storage asset 710 hosts “a farthest of the closest” data storage containers 720 for the particular customer. Similarly, in some implementations of the invention, the data storage asset 710 deemed “farthest away” may be selected by determining which data storage asset 710 hosts the fewest number of data storage containers 720 for the particular customer or that hosts the least amount of data or data records 110 for the particular customer.

Determining which data storage asset 710 is deemed “farthest away” may rely on other information from data records 110 in addition to or instead of the particular customer associated with the data records 110 as in the example described above. Such information may include, but is not limited to, a buyer, a website host, a website owner, a website user, or other information by which data records 110 can be discriminated.

In some implementations of the invention, determining which data storage asset 710 is deemed “farthest away” may rely on whether data storage container 720 is a split space data storage container or a spill space data storage container. For example, in some implementations of the invention, the data storage asset 710 deemed “farthest away” from an existing split space data storage container 720 (i.e., data storage container 155E) may be selected by determining which data storage asset 710 hosts the fewest number of data storage containers 720 or stores the least amount of data or data records 110; whereas the data storage asset 710 deemed “farthest away” from an existing spill space data storage container (i.e., data storage container 135E) may be selected by determining which data storage asset 710 hosts the farthest of the closest data storage container 720.

As referenced above, the data storage asset 710 deemed “farthest away” may be selected by determining which data storage asset 710 hosts “the farthest of the closest” data storage container 720. In some implementations of the invention, this may be accomplished by first determining, for each of data storage assets 710, which data storage container 720 hosted on the respective data storage asset 710 is closest, in terms of sequential range, to the existing data storage container 720.

In some implementations of the invention, each data storage container in a sequential data storage space stores a sub-range of the data values in the sequential data space. These sub-ranges are more or less “distant” from the sub-range of the existing storage container 720 (for example, by the sum of the sub-ranges that lie in between). In this context, in some implementations of the invention, the data storage containers 720 on each data storage asset 710 are ordered based on the relative “distance” of their respective sub-ranges to that of the existing data storage container 720 from closest to farthest. More specifically, data storage containers 720A₁, 720A₂, . . . , and 720A_(m) hosted on data storage asset 710A are ordered based on the distance between their respective sub-ranges and that of the existing data storage container from closest to farthest; data storage containers 720B₁, 720B₂, . . . , and 720B_(n) hosted on data storage asset 710B are ordered based on the distance between their respective sub-ranges and that of the existing data storage container from closest to farthest; data storage containers 720C₁, 720C₂, . . . , 720C_(p) hosted on data storage asset 7100 are ordered based on the distance between their respective sub-ranges and that of the existing data storage container from closest to farthest; and data storage containers 720D₁, 720D₂, . . . , 720D_(q) hosted on data storage asset 710D are ordered based on the distance between their respective sub-ranges and that of the existing data storage container from closest to farthest. In some implementations of the invention, once the closest data storage container 720 to the existing data storage container is determined for each data storage asset 710, the farthest of these from the existing data storage container is then determined. Then, in some implementations of the invention, the data storage asset 710 that hosts the farthest of the closest data storage containers may be selected to host the new data storage container 720 and a new data storage container 720 may be created on the selected data storage asset 710.

In some implementations of the invention, two or more data storage assets 710 may be determined as hosting the farthest of the closest data storage container 720. In such situations, the data storage asset 710 that stores the least amount of data or data records, or that hosts the fewest number of data storage containers 720 is determined between these two or more data storage assets 710. Then, in some implementations of the invention, the data storage asset 710 that stores the least amount of data or data records, or that hosts the fewest number of data storage containers 710 may be selected to host the new data storage container 720 and a new data storage container 720 may be created on the selected data storage asset 710.

In some implementations of the invention, two or more data storage assets 710 may be determined as storing the least amount of data or data records 110, or that host the fewest number of data storage containers. In such situations, any one of the data storage assets 710 may be selected to host the new data storage container 720 and a new data storage container 720 may be created on the selected data storage asset 710.

FIG. 8 illustrates an operation 800 of a load balancing mechanism for data storage system 100 according to various implementations of the invention. In a decision operation 810, processor 120 determines whether to create a new spill space container 135N or a new split space container 155N. If a new split space container 155N is to be created, processing continues at an operation 820; if a new spill space container 135N, processing continues at an operation 850.

In an operation 820, processor 120 determines which data storage asset(s) 710 hosts the fewest number of data storage containers 720. In a decision operation 830, processor 120 determines whether two or more data storage assets 710 host the fewest number of data storage containers 720. If so, processing continues at an operation 835. If not, processing continues at an operation 890.

In operation 835, processor 120 selects one of the two or more data storage assets 710 to host the new split space data storage container 155N. In an operation 840, processor 120 creates a new data storage container 720 (corresponding to new data storage container 155N) on the selected data storage asset 710.

In an operation 890, processor 120 selects the single determined data storage asset 710 to host the data storage container 720, and processing continues at operation 840.

In an operation 850, processor 120 determines which data storage asset(s) 710 hosts the farthest of the closest data storage containers 710. In a decision operation 860, if two or more data storage assets 710 host the farthest of the closest data storage container 710, then processing continues at an operation 870; otherwise processing continues at operation 890. In operation 870, processor 120 determines which data storage asset(s) 710 hosts the fewest number of data storage containers 710. In a decision operation 880, if two or more data storage assets 710 host the fewest number of data storage containers 710, then processing continues at an operation 835 where one of them is selected; otherwise processing continues at operation 890.

While the invention has been described herein in terms of various implementations, it is not so limited and is limited only by the scope of the following claims, as would be apparent to one skilled in the art. These and other implementations of the invention will become apparent upon consideration of the disclosure provided above and the accompanying figures. In addition, various components and features described with respect to one implementation of the invention may be used in other implementations as would be understood. 

What is claimed is:
 1. A method for storing and retrieving data, the method comprising: receiving, via a computing processor, a plurality of data records, each of the plurality of data records having a sequentially changing data value and an other data value; for each data record in the plurality of data records: causing the data record to be aggregated and stored with other data records in a first data storage container corresponding to a first data storage space based on the sequentially changing data value of the data record, and causing the data record to be aggregated and stored with other data records in a second data storage container corresponding to a second data storage space, wherein the second data storage container is different from the first data storage container, wherein the data records in the second data storage container are stored based on the other data value; receiving a query against the plurality of data records; determining whether the query is best evaluated in a sequential data space or a finite data space; retrieving a first retrieved plurality of data records from the first data storage container when the query is best evaluated in the sequential data space; and retrieving a second retrieved plurality of data records from the second data storage container when the query is best evaluated in the finite data space.
 2. The method of claim 1, wherein each data record further comprises a third data value, and wherein the method further comprises: for each data record in the plurality of data records, causing the data record to be aggregated and stored, in the first data storage container or the second storage data storage container, with other data records having a same third value.
 3. The method of claim 1, wherein the data records in the second data storage container share a common other data value or a common range of the other data value.
 4. The method of claim 1, wherein causing the data record to be aggregated and stored with other data records in a first data storage container based on the sequentially changing data value of the data record comprises appending the data record to the end of the other data records or inserting the data record among the other data records in the first data storage container.
 5. The method of claim 1, wherein causing the data record to be aggregated and stored with other data records in a second data storage container comprises inserting the data record among the other data records based on the other data value.
 6. The method of claim 1, wherein causing the data record to be aggregated and stored with other data records in a second data storage container comprises appending the data record to the end of the other data records in the second data storage container.
 7. A method for storing and retrieving data, the method comprising: receiving, via a computing processor, a plurality of data records, each of the plurality of data records having a sequentially increasing data value and an other data value; for each data record in the plurality of data records: causing the data record to be aggregated and stored with other data records in a first data storage container based on the sequentially increasing data value of the data record, and causing the data record to be aggregated and stored with other data records in a second data storage container, wherein the second data storage container is different from the first data storage container; receiving a query against the plurality of data records; determining whether the query is best evaluated in a sequential data space or in a finite data space; and retrieving a retrieved plurality of data records from the first data storage container when the query is best evaluated in the sequential data space or from the second data storage container when the query is best evaluated in the finite data space.
 8. The method of claim 7, wherein each data record further comprises a third data value, and wherein the method further comprises: for each data record in the plurality of data records, causing the data record to be aggregated and stored, in the first data storage container or the second data storage container, with other data records having a same third value.
 9. The method of claim 7, wherein the data records in the second data storage container share a common other data value or common range of the other data value.
 10. The method of claim 7, wherein causing the data record to be aggregated and stored with other data records in a first data storage container based on the sequentially increasing data value of the data record comprises appending the data record to the end of the other data records or inserting the data record among the other data records in the first data storage container as the data record is received.
 11. The method of claim 7, wherein causing the data record to be aggregated and stored with other data records in a second data storage container comprises inserting the data record among the other data records based on the other data value.
 12. The method of claim 7, wherein causing the data record to be aggregated and stored with other data records in a second data storage container comprises appending the data record to the end of the other data records in the second data storage container.
 13. A method for storing and retrieving event data records, the method comprising: receiving, via a computing processor, a plurality of event data records, each of the plurality of event data records having a sequential data value and an other data value; for each event data record in the plurality of event data records: causing the event data record to be aggregated and stored with other event data records in a first data storage container based on the sequential data value of the event data record, and causing the event data record to be aggregated and stored with other event data records in a second data storage container, wherein the second data storage container is different from the first data storage container, and wherein the event data records in the second data storage container share a common other data value or common range of the other data value; receiving a query against the plurality of event data records; determining whether the query is best evaluated in a sequential data space or a finite data space; and retrieving a retrieved plurality of event data records from the first data storage container when the query is best evaluated in the sequential data space or from the second data storage container when the query is best evaluated in the finite data space.
 14. The method of claim 13, wherein each event data record further comprises a third data value, and wherein the method further comprises: for each event data record in the plurality of event data records, causing the event data record to be aggregated and stored, in the first data storage container or the second data storage container, with other event data records having a same third value.
 15. The method of claim 13, wherein causing the event data record to be aggregated and stored with other event data records in a first data storage container based on the sequential data value of the event data record comprises appending the event data record to the end of the other event data records in the first data storage container.
 16. The method of claim 13, wherein causing the event data record to be aggregated and stored with other event data records in a first data storage container based on the sequential data value of the event data record comprises inserting the event data record among the other event data records based on the sequential data value.
 17. The method of claim 13, wherein causing the event data record to be aggregated and stored with other event data records in a second data storage container comprises inserting the event data record among the other event data records based on the other data value.
 18. The method of claim 13, wherein causing the event data record to be aggregated and stored with other event data records in a second data storage container comprises appending the event data record to the end of the other event data records in the second data storage container.
 19. The method of claim 13, wherein the event data record comprises web events, web traffic events, point of sale transaction events, or financial transactions events. 